<?php

namespace App\Modules\Rebate\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class RebateRule
 * @package App\Modules\Rebate\Models
 * @property string $type
 * @property string $link_id
 * @property integer $level1_rebate
 * @property integer $level2_rebate
 * @property integer $level3_rebate
 * @property integer $level_2_3_rebate
 */
class RebateRule extends Model
{
    const TYPE_PACKAGE = 'package';
    const TYPE_GOOD = 'good';

    protected $fillable = [
        'type',
        'link_id',
        'level1_rebate',
        'level2_rebate',
        'level3_rebate',
        'level4_rebate',
        'level_2_3_rebate'
    ];
}
